package com.example.demo.service;

import com.example.demo.model.Person;

import java.util.List;

public interface PersonService {
    int addUser(Person user);


    List<Person> findAllUser(int pageNum, int pageSize);
    Person findUser(int id);
    int delUser(int id);
    List<Person> findAllUser();
}
